export const CollApsedReducer = (prevState={
  isCollapsed:false
}, action)=>{
  // console.log(action);
  switch (action.type) {
    case "change_collapsed":
      let newState = {...prevState}
      newState.isCollapsed = !newState.isCollapsed
      return newState;
  
    default:
      return prevState;
  }
}